<style type="text/css">
    .remark{padding-top:4px;word-break:normal;width:auto;display:block; white-space:pre-wrap;word-wrap:break-word;overflow: hidden}
</style>
<script type="text/javascript">

    //初始化页面
    var keyId = (getUrlParam("keyId", url));
    fy_api.load_template({controller: $("#saveForm").attr("templateParam", "keyId=" + keyId), initValue: true,loading: true,loaded: init});

    //设置加油卡信息
    function init(){

        //设置状态
        var useFlag = $("#useFlag").text();
        if(useFlag == "0"){
            $("#useFlag").text("禁用");
        }else{
            $("#useFlag").text("启用");
        }
    }
</script>
<form id="saveForm" templateUrl="project/get.do">
    <div class="div-item">
        <div class="div-label">项目中文名称：</div>
        <span class="div-item-info">${cnName}</span>
    </div>
    <div class="div-item">
        <div class="div-label">项目英文名称：</div>
        <span class="div-item-info" id="erpArea.areaName">${enName}</span>
    </div>
    <div class="div-item">
        <div class="div-label">访问地址：</div>
        <span class="div-item-info" id="person.personName">${url}</span>
    </div>
    <div class="div-item">
        <div class="div-label">所属服务器IP：</div>
        <span class="div-item-info" id="balance">${server.outerIp}</span>
    </div>
    <div class="div-item">
        <div class="div-label">所属服务器路径：</div>
        <span class="div-item-info" id="cardType">${serverPath}</span>
    </div>
    <div class="div-item">
        <div class="div-label">数据库地址：</div>
        <span class="div-item-info">${dbUrl}</span>
    </div>
    <div class="div-item">
        <div class="div-label">数据库用户名：</div>
        <span class="div-item-info">${dbUser}</span>
    </div>
    <div class="div-item">
        <div class="div-label">数据库密码：</div>
        <span class="div-item-info">${dbPass}</span>
    </div>
    <div class="div-item">
        <div class="div-label">金融代码：</div>
        <span class="div-item-info">${financialCode}</span>
    </div>
    <div class="div-item">
        <div class="div-label">金融代码密码：</div>
        <span class="div-item-info">${pass}</span>
    </div>
    <div class="div-item">
        <div class="div-label">启动地址：</div>
        <span class="div-item-info">${startUpUrl}</span>
    </div>
    <div class="div-item">
        <div class="div-label">终止地址：</div>
        <span class="div-item-info">${shutDownUrl}</span>
    </div>
    <div class="div-item">
        <div class="div-label">状态：</div>
        <span class="useFlag" id="useFlag">${useFlag}</span>
    </div>
    <div class="div-item" style="height: auto;">
        <div class="div-label">备注：</div>
        <span class="remark">${remark}</span>
    </div>
</form>
<div class="form-buttons">
    <a id="btnBack" class="easyui-linkbutton c2" href="#" iconCls="icon-undo" onClick="parent.j_closeWin();">返回</a>
</div>